"""
用户模块
"""
from pom.login_page import LoginPage

class UserModel:

    def __init__(self):
        self.loginPage = LoginPage()

    def user_login(self, username, passwd):
        self.loginPage.login_name().send_keys(username)
        self.loginPage.login_pass().send_keys(passwd)
        self.loginPage.login_btn().click()